package cn.kgc.springscloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 课工场
 * @date 2023/10/9
 * @description
 */
@RestController
@RequestMapping("score")
public class ScoreController {

    @Value("${server.port}")
    private String port;

    @RequestMapping("m1")
    public String  method1(){

        return "scoreService OK port = " +port;
    }
}
